package ro.romanescu.useradmin;

import java.util.Date;
import java.util.List;

import ro.romanescu.useradmin.hibernate.User;


public interface IUser {
  
  
  long getId();
  
  void setId( long id );
  
  String getUsername();
  
  
  void setUsername( String username );
  
  
  String getPassword();

  
  void setPassword( String password );

  
  Date getCreationDate();
  
  
  void setCreationDate( Date date );
  
  
  User getAuthor();
  
  
  void setAuthor( User author );
  
  
  Date getLastModificationDate();
  
  
  void setLastModificationDate( Date date );
  
  
  User getLastModificationAuthor();
  
  
  void setLastModificationAuthor( User author );
  
  
  List<IRole> getRoles();
  
  
  void setRoles( List<IRole> roles );
  
  
  List<IUserAttribute> getAttributes();
  
  
  void setAttributes( List<IUserAttribute> attributes );


  boolean isAudit();
  
  
  void setAudit( boolean audit );
}
